package com.lottery.service.pc28.lobbyService;

import com.lottery.dto.ResultDto;
import com.lottery.entity.Bettinginfo;
import com.lottery.entity.LotteryExchange;


public interface LotteryExchangeService {

	/**
	 * 插入数据
	 * 
	 * @param lotteryExchange
	 * @return
	 */
	ResultDto<LotteryExchange> insertLotteryExchange(Bettinginfo bettinginfo, String betWay, int lotteryType)
			throws Exception;

	LotteryExchange robotLotteryExchange(Bettinginfo bettinginfo, String betWay, int lotteyType);

	/**
	 * 分享用户比例分成
	 * 
	 * @param expect
	 * @return
	 */
	ResultDto<LotteryExchange> UserRateSharing(String expect, int lotteryType) throws Exception;

	LotteryExchange touristLotteryExchange(Bettinginfo bettinginfo, String betWay, int lotteyType);

}
